import { fly } from '@/utils/request';

const control = '/index/v1';

/**
 * 版本号检查
 */
export function versionUpdate({ version }) {
  return fly.post(
    `/basic/v1/oncrypt/version`,
    { version },
    { type: '', output: 'decrypt' }
  );
}
